package com.example.recruitment.service;

import com.example.recruitment.entity.Resume;
import java.util.List;

public interface ResumeService {
    List<Resume> findAll();
    
    Resume findById(Long id);
    
    List<Resume> findByUserId(Long userId);
    
    List<Resume> findByJobId(Long jobId);
    
    boolean add(Resume resume);
    
    boolean update(Resume resume);
    
    boolean deleteById(Long id);
    
    boolean updateStatus(Long id, String status);
    
    long count();
    
    List<Resume> findLatest(int limit);
    
    long countByStatus(String status);
} 